<div class="inner-left">
	<div class="col-corn-top">&nbsp;</div>
	<p>
		<?php  echo $this->callElement("default/common/quicklinks"); ?>
	</p>
	<div class="col-corn-bottom">&nbsp;</div>
</div>
<div class="inner-right">
	<?php echo $pageInfo['content'];?>
	<br />
	<h2><?php echo $this->__('Submit Post');?></h2>
	<div class="inner">
	<?php
		echo App::Load("Helper/Javascript")->validation_map(
															Array(
																	'_errBg'=>ERROR_BACKGROUND,
																	'_dflBg'=>'#CFCFCF',
																	'_autoSubmit'=>'false',
																	'_errToolTips'=>'false',
																	'_errorMark' => 'inline'
																)
														);
		echo App::Load("Helper/Javascript")->ajax_submit(array("form_name"=>".app_validation","debug"=>"true","auto_hide"=>"true","message_element"=>".message"));
	?>
	<div class="message"></div>
	<form method="post" class="app_form app_validation" action="<?php echo $this->baseurl("/add-post-to-forum");?>">
		<ul>
			<li><label><?php echo $this->__('Title');?></label><span><input type="text" name="data[Forum][title]" class="input check_notempty" value="" /></span></li>
			<li><label><?php echo $this->__('Category');?></label><span><?php echo App::CategorySet('forum-cat')->Tag('data[Forum][cat]','',array('key'=>'id','val'=>'title','inputType'=>'selectTag'),array('class'=>'select check_notempty'));	?></span></li>
			<li><label><?php echo $this->__('Description');?></label><span><?php echo $this->__('HTML is allowed.');?> <textarea name="data[Forum][desc]" rows="10" class="input check_notempty"></textarea></span></li>
			<li><label><?php echo App::Helper('Html')->capachaTag("forumpost",Array("bk_color"=>"#99011E","font_color"=>"#FFFFFF"));?></label><span><input type="text" name="data[Forum][capacha]" class="input check_notempty" longdesc="Please fillin the text display left side image." value="" /></span></li>
			<li><label>&nbsp;</label><span><input type="submit" name="data[Forum][submit]" value="Submit" class="button" /></span></li>
		</ul>
	</form>
	</div>
</div>
<div class="clearboth"></div>